//
//  ZTLinkageUtil.h
//  YSSmartHome
//
//  Created by Yahaong on 16/9/5.
//  Copyright © 2016年 yahaong. All rights reserved.
//

#import "ZTDevice.h"
#import "ZTLinkageInfo.h"
#import "ZTLinkage.h"

@interface ZTLinkageUtil : NSObject


+ (void) modifLinkageConds:(NSArray <ZTLinkageInfo *>*)conds actions:(NSArray <ZTLinkageInfo *>*)actions status:(ZTLinkageStatus)status name:(NSString*)name formula:(NSString *)formula linkageNum:(uint8_t)linkagenum;
+ (void) delLinkage:(ZTLinkage *)likage;
+ (void) setLinkage:(LinkageNum)linkNum status:(ZTLinkageStatus)linkageStatus;
+ (void) findAllLinkages:(XAITYPEAPSN) apsn luid:(XAITYPELUID)luid;
+ (void) linkAdd:(XAITYPEAPSN )apsn  name:(NSString*) name conditions: (NSArray <ZTLinkageInfo*> *)conditions actions: (NSArray <ZTLinkageInfo*> *) actions;
@end
